package org.csu.pet_store_back.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
@TableName("account")
public class Account {
    @NotBlank(message = "用户名不能为空")
    String userid;
    @NotBlank(message = "密码不能为空")
    String password;
    @Email
    String email;
    String firstname;
    String lastname;
    String status;
    String addr1;
    String addr2;
    String city;
    String state;
    String zip;
    String country;
    String phone;
    Boolean isAdmin;
}
